Vue.component("aui-tooltip", {
    template: `
<div class="aui-tooltip"><div class="aui-tooltip__inner" ref="tooltip" data-toggle="tooltip" :data-placement="placement" :title="title"><slot></slot></div></div>
    `,
    props: {
        title: {
            required: true
        },
        placement: {
            type: String,
            default: "top"
        }
    },
    mounted() {
        var self = this;
        self.anuElement = {};
        self.anuElement.element = $(self.$refs.tooltip);
        self.anuElement.element.tooltip();
    }
});